@charset "UTF-8";
@import "../common/scss/mobile";
@import "../common/scss/variable";
@import "../common/scss/mixins";
@import "../common/scss/lotterys";
body,html{height:100%;}
body{
//	background-color:#f59649 ;
    background: #351577;
	position:relative;
	&>a{
		display: none;
		visibility: hidden;
	}
}
.lottery-page{	
    width: 100%;    
    height: 100%;
    background:#00AFEB;
    background-size: 100% 100%;
	.activity-rules{
	    position:absolute;
		transition: height 0.5s ease-out;
		&.expand{
			left:0;
			top:0;
			right:0;
			bottom:0;
			height:100%;
			z-index:100;
			
		}
		&.collapse{
			left:0;
			top:0;
			height:0;
			overflow:hidden;
		}
		 

		background-color:rgba(11,2,5,0.9);
		color:#fff;
		.rules-title,.rules-content{padding:1rem;}
		.rules-title{
			
		  background:url(/images/youban/rules-title.png) no-repeat center center;
		  font-size:1.5rem;
		  text-align:center;
		  background-size:100%;
		  margin:4rem 0 2rem;
		  
		}
		.rules-content{
		    font-size:1.1rem;
			line-height:1.8rem;
			p{
				padding-bottom:1rem;
			}
		}
	}
	.regular{
		position:absolute;
		@include mix-regular();
		right:1.6rem;
		top: 0.8rem;
		z-index:110;
		color:#fff;
		text-align:center;
	}

	.win-layer{
	    display:none;
		.not-winning,.winning{		
		   position:relative;
		   height:100%;		
			   .winning-inner{
					position:absolute;
					top:50%;       
					width:100%;
					.closeBtn{
					   height:3rem;
					   text-align:center;
					}
			   }
		}
		.not-winning{	      
			   .winning-inner{
					margin-top:-14.7rem;

				   .result-img{	
						height:26.4rem;
						background:url(/images/youban/not-winning.png) no-repeat center center;
						background-size:100%;
				   }
			   }
		}
		.winning{  
			   .winning-inner{
					margin-top:-15.4rem;
					position:absolute;
					top:50%;       
					width:100%;
					.closeBtn{
					   height:3rem;
					}
				   .result-img{	
						text-align:center;
						height:23.8rem;
						padding-top:4rem;
						background:url(/images/youban/winning.png) no-repeat center center;
						background-size:100%;
						.copon{
							  height:4rem;
							  padding:0.4rem 0 0.8rem;
						}
						.icon-receive-btn{
						   @include mix-receive-btn();
						}
				   }
			   }
		}
		.copon{
		   width:7.6rem;
		   height:3.7rem;
		   margin:0 auto;
		   img{
		     display:inline-block;
			 width:100%;
			 height:100%;
		   }
		}
		.icons-close{		
			@include mix-close();
		}
	}

}
.active-banner{
  width:100%;
  height:20.5rem;
  //background:url(/images/youban/banner-bg.jpg) no-repeat center center;
  background-size:100%;
  position:relative;
  .actTitle{
      position: absolute;
      width: 100%;
      top: 7rem;
      .childTitle{
        height: 4.8rem;
        font-size: 3.8rem;
        color: #fff;
        font-weight: bolder;
        line-height: 4.8rem;
        text-align: center;
      }
      .subTitle{
        height: 3.7rem;
        font-size: 3.2rem;
        color: #fff;
        font-weight: bolder;
        line-height: 3.7rem;
        text-align: center;
      }
  }
  .surplus-times{
	  text-align:center;
	  color:#fff;
	  font-size:1rem;
	  position:absolute;
	  width:14.5rem;
	  height: 2.4rem;
	  line-height: 2.4rem;
	  border: solid 5px #9430e0;
	  border-radius: 2.4rem;
	  background: #d23efb;
	  left:50%;
	  margin-left: -7.25rem;
	  bottom:0.5rem;
	  span{
		  background-color:#9430e0;
		  @include radius(50%);
		  width:1.9rem;
		  height:1.9rem;
		  line-height:1.9rem;
		  font-weight: bold;
		  font-size: 1.2rem;
		  display:inline-block;
	  }
  }

}
	.win-layer,.sharetip{
		display:none;
		position:absolute;
		left:0;
		top:0;
		right:0;
		bottom:0;
		height:100%;
		background-color:rgba(11,2,5,0.9);
		z-index:2000;
	}
	.sharetip{
	         bottom: inherit;
			.share-icon{ 
                position:absolute;
				right:0.8rem;
				top:0;	
			    background:url(/images/youban/share-tip.png) no-repeat center center;
				background-size: 100%;
				width:20.6rem;
				height:9.5rem;
			}
	}
.lottery-unit{
	background-repeat:no-repeat;
	background-image:url(/images/youban/icons.png);
	background-size:px2rem(($spriteWidth,$spriteHeight));
	@include sprite-position($lottery-bg);
	background-position: -19.65rem 0;
	&.active{
		@include sprite-position($lottery-bg-active);
	}
}
.turntable{
	margin:0 auto;
	background:url("/images/youban/lottery-unit-bg.png") no-repeat center center;
	background-size:100%;
	padding:1.5rem;
	width:26.5rem;
	height:21.9rem;
	.lottery-row{
		@extend .flex-row;
	}
	.lottery-item,lottery-start{
		@extend .flex-item;
	}
	.lottery-start{
		@include mix-soon-lottery();
		&.disabled{
			@include mix-lotteryed();
			text-align: center;
			line-height: 6.95rem;
			font-size: 1.8rem;
			color: #827372;
			font-weight: bold;
		}
		
	}
	.lottery-unit,.lottery-start{
	    width: 8.8rem;
	}
	.lottery-unit{
		height:6.4rem;
		padding-top:0.8rem;
		text-align:center;
		.ticket-img{
			width:90%;
			margin:0 auto;
			height:3.7rem;
			background-size:100%;
			background-repeat:no-repeat;
			background-position:center center;
		}
		.ticket-title{
			color:#c00425;
			font-size:1rem;
			font-weight:bold;
		}
		
	}
	/*.icon-money-twenty{
		@include mix-money-twenty();
	}
	.icon-money-fifteen{
		@include mix-money-fifteen();
	}
	.icon-money-ten-blue{
		@include mix-money-ten-blue();
	}
	.icon-money-five{
		@include mix-money-five();
	}
	.icon-door-ticket{
		@include mix-door-ticket();
	}
	.icon-money-ten-red{
		@include mix-money-ten-red();
	}
	.icon-smile{
		@include mix-smile();
	}
	.icon-money-ten-purple{
		@include mix-money-ten-purple();
	}*/
}
.btns-box{
    margin-top: 1rem;
	@extend .flex-row;
	&>div{
		@extend .flex-item;
		text-align:center;
	}
	button{
		border:0;
		@include mix-button();
		background-color: transparent;
		font-size:1.2rem;
		color:#831c00;
	}
}
@import "../common/scss/layer";


